home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Devil's Cubes 1.0.1 / source / Devil’s Cubes ƒ / MSG Shell ƒ / msg menus.h < prev    next >
Encoding:
Text File  |  1994-10-30  |  1.6 KB  |  73 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        msg menus.h
  4.  
  5. Purpose:    This is the header file for msg menus.c
  6.  
  7.  
  8. Devil’s Cubes -- a simple cubes puzzle
  9. Copyright (C) 1993 Mark Pilgrim
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. enum
  29. {
  30.     helpMenu = 200,
  31.     
  32.     appleMenu = 400,
  33.     fileMenu,
  34.     editMenu,
  35.     optionsMenu,
  36.     
  37.     aboutItem = 1,
  38.     aboutMSGItem,
  39.     helpItem,
  40.     
  41.     newItem = 1,
  42.     openItem,
  43.     closeItem,
  44.     saveItem,
  45.     saveAsItem,
  46.     quitItem = 7,
  47.     
  48.     undoItem = 1,
  49.     cutItem = 3,
  50.     copyItem,
  51.     pasteItem,
  52.     clearItem,
  53.     
  54.     mirrorItem = 1,
  55.     showItem,
  56.     soundToggle = 4
  57. };
  58.  
  59. extern    Boolean            gMenuEnabled;
  60. extern    MenuHandle        gAppleMenu;
  61. extern    MenuHandle        gFileMenu;
  62. extern    MenuHandle        gEditMenu;
  63. extern    MenuHandle        gHelpMenu;
  64. extern    MenuHandle        gOptionsMenu;
  65.  
  66. void AdjustMenus(void);
  67. void HandleMenu(long);
  68. void HandleAppleMenu(int);
  69. void HandleFileMenu(int);
  70. void HandleEditMenu(int);
  71. void HandleHelpMenu(int);
  72. void HandleOptionsMenu(int);
  73.